$(function(){
  let pwd = $('#pwd'),
      pwdtext = $('#pwd-text'),
      eye = $('#eye');
  pwd.on("input",()=>{
    pwdtext.val(pwd.val())
  }),
  eye.mouseover(()=>{
    pwdtext.css("z-index",'10')
  }),
  eye.mouseout(()=>{
    pwdtext.css('z-index','-10')
  })
  
});
